package com.jk.garden1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jdk.nashorn.internal.parser.Token;
import lombok.Data;

@Data
@TableName("user_table")
public class UserTableEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String phone;
    private String role;
    private String createtime;
    private String status;
    private String username;
    private String password;
    //盐
    private String salt;
//    token
    private String token;

    //业务字段：验证码
    @TableField(exist = false)
    private String code;

}
